@function stripe($location,$colors){
    $colors: if(type-of($colors) != 'list',compact($colors),$colors);
    $gradient:compact();
    $len:length($colors);
    $width: percentage(1 / $len);
    @for $i from 1 through $len{
        $color:nth($colors,$i);
        $temp: $color ($width * ($i - 1)), $color ($width * $i);
        $gradient: join($gradient,$temp,comma);
    }
    @return linear-gradient($location,$gradient);
}
.pop-stripe{
    height: 0.25em;
    @include background-image(stripe(left, $pop-stripe-clolors));
}